package com.tcxhb.job.core.entity;

import com.tcxhb.job.common.constants.enums.ScheduleTypeEnum;
import lombok.Data;

/**
 * @Description:
 * @Auther: tcxhb
 * @Date: 2023/11/12
 */
@Data
public class JobRunDTO {
    public JobRunDTO(Long jobId, Long scheduleTime) {
        this.jobId = jobId;
        this.scheduleTime = scheduleTime;
    }

    private Long jobId;
    private Long scheduleTime;
    /**
     * 带参数运行
     */
    private String params;
    /**
     * 执行一次
     */
    private Boolean runOnce = false;
    /**
     * 实例ID;
     */
    private Long instanceId;
}
